<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/common/common.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>修改实验室</title>
    <link rel="stylesheet" href="./css/layui.css">

</head>
<body>


<form class="layui-form" action="<%= basePath%>/PlanAction_edit.action?id=${plan.id }" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">招聘计划编号</label>
        <div class="layui-input-block">
            <input type="text" name="planId" value="${plan.planId}"  class="layui-input" required="true"/> 
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">招聘计划名称</label>
        <div class="layui-input-block">
            <input type="text" name="planName" value="${plan.planName}" class="layui-input" required="true" />
        </div>
    </div>
     <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">岗位要求</label>
        <div class="layui-input-block">
            <input type="text" name="requirement" value="${plan.requirement}" class="layui-input" required="true" />
        </div>
    </div>
     <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">招聘人数</label>
        <div class="layui-input-block">
            <input type="text" name="num" value="${plan.num}" class="layui-input" required="true" />
        </div>
    </div>
     <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">申请部门</label>
        <div class="layui-input-block">
            <input type="text" name="department" value="${plan.department}" class="layui-input" required="true" />
        </div>
    </div>
     <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">申请人</label>
        <div class="layui-input-block">
            <input type="text" name="username" value="${plan.username}" class="layui-input" required="true" />
        </div>
    </div>
    
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            <a onclick="javascript:history.back(-1);" class="layui-btn layui-btn-warm"><i class="layui-icon">&#xe65c;</i>返回</a>
        </div>
    </div>
</form>

<script src="./js/layui.all.js" type="text/javascript"></script>
<script type="text/javascript">
    //Demo
    layui.use(['form'], function(){
        var form = layui.form;
        //监听提交
        form.on('submit(formDemo)', function(data){

        });
        form.render();
    });
</script>


</body>
</html>